﻿using Newtonsoft.Json;

namespace Missbot.Model.MsgInfos
{
    public class UrlUploadFinishedInfo : RootInfo
    {
        [JsonProperty("body")]
        public UrlUploadFinishedBody Body { get; set; }
    }

    public class UrlUploadFinishedBody
    {
        [JsonProperty("id")]
        public string ID { get; set; }

        [JsonProperty("body")]
        public UrlUploadFinishedInnerBody Body { get; set; }
    }

    public class UrlUploadFinishedInnerBody
    {
        [JsonProperty("marker")]
        public string Marker { get; set; }
        
        [JsonProperty("file")]
        public InstanceFile File { get; set; }
    }
}